<?php

define('DS','/');
define('PS',PATH_SEPARATOR);

define ('INCLUDE_PATH',dirname(__FILE__));
define ('ROOT_PATH',dirname(INCLUDE_PATH));
define ('SITE_PATH','ROOT_PATH/website');

define ('TEMP_PATH',ROOT_PATH . '/temporary');
define ('LIB_PATH',ROOT_PATH . '/libraries');
define ('PUBLIC_PATH',ROOT_PATH . '/public');

define ('CACHE_PATH',TEMP_PATH . '/cache');
define ('LOG_PATH',TEMP_PATH . '/log');
define ('SITE_ID',2);


// set include path

set_include_path(PS . LIB_PATH . PS . MODULE_PATH);
if( function_exists('mb_internal_encoding') ) {
  mb_internal_encoding("UTF-8");
}

if( function_exists('iconv_set_encoding') ) {
  // Not sure if we want to do all of these
  iconv_set_encoding("input_encoding", "UTF-8");
  iconv_set_encoding("output_encoding", "UTF-8");
  iconv_set_encoding("internal_encoding", "UTF-8");
}

ini_set('display_errors',"On");
ini_set('display_startup_errors',"On");
ini_set('error_reporting',-1);

include 'Agilet/Agilet.php';